/**
* 作者: clz
* 日期: 2025-04-22 00:59:20
* 备注: 联盟砍价商店
*/
package com.motu.monstercity.server.game.commondata.union;

import io.vertx.core.json.JsonObject;

public class UnionDiscountShopModel {
	protected int id; // id
	protected int num; // 商品初始价格
	protected String reward; // 商品内容

	public UnionDiscountShopModel() {
	}

	public UnionDiscountShopModel(JsonObject obj) {
		id = obj.containsKey("id") ? obj.getInteger("id") : 0;
		num = obj.containsKey("num") ? obj.getInteger("num") : 0;
		reward = obj.containsKey("reward") ? obj.getString("reward") : "";
	}

	public int getId() {
		return id;
	}

	public int getNum() {
		return num;
	}

	public String getReward() {
		return reward;
	}

}
